﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WSIMServices.WSIMProfilesTableAdapters;
using WSIMServices.WSIMMessagingTableAdapters;
using WSIMServices.ContactSearchTableAdapters;
using WSIMServices.WSIMCompatibilityTableAdapters;


namespace WSIMServices.model
{
    public class ObjectFactory
    {
        private static wsim_online_usersTableAdapter t1 = new wsim_online_usersTableAdapter();
        private static wsim_user_access_detailTableAdapter t2 = new wsim_user_access_detailTableAdapter();
        private static wsim_user_detailTableAdapter t3 = new wsim_user_detailTableAdapter();
        private static wsim_user_listTableAdapter t4 = new wsim_user_listTableAdapter();
        private static wsim_user_profileTableAdapter t5 = new wsim_user_profileTableAdapter();
        private static wsim_userTableAdapter t6 = new wsim_userTableAdapter();
        

        public static wsim_online_usersTableAdapter GetOnlineTable() {
            return t1;
        }

        public static wsim_user_access_detailTableAdapter GetUserAccessTable() {
            return t2;
        }

        public static wsim_user_detailTableAdapter GetUserDetailTable()
        {
            return t3;
        }
        public static wsim_user_listTableAdapter GetUserListTable()
        {
            return t4;
        }
        public static wsim_user_profileTableAdapter GetUserProfileTable()
        {
            return t5;
        }
        public static wsim_userTableAdapter GetUserTable()
        {
            return t6;
        }

        private static wsim_historyTableAdapter t100 = new wsim_historyTableAdapter();
        private static wsim_message_attachmentTableAdapter t101 = new wsim_message_attachmentTableAdapter();
        private static wsim_message_modelTableAdapter t102 = new wsim_message_modelTableAdapter();

        public static wsim_message_modelTableAdapter GetMessageTable() {
            return t102;
        }

        public static wsim_message_attachmentTableAdapter GetMessageAttachmentTable()
        {   
            return t101;
        }

        public static wsim_historyTableAdapter GetHistoryTable()
        {
            return t100;
        }


        private static UserSearchTableAdapter t200 = new UserSearchTableAdapter();

        public static UserSearchTableAdapter GetUserSearchTable() {
            return t200;
        }


        private static CompatibilityMessageModelTableAdapter t300=new CompatibilityMessageModelTableAdapter();

        public static CompatibilityMessageModelTableAdapter GetCompatibleMessageTable() {
            return t300;
        }

    }
}
